//
//  GTScrollView.h
//  GTSliderDemo
//
//  Created by yate1996 on 15/7/21.
//  Copyright (c) 2015年 yate1996. All rights reserved.
//
@class VideoView;
#import <UIKit/UIKit.h>

@protocol ScrollPageViewDelegate <NSObject>
-(void)didScrollPageViewChangedPage:(NSInteger)aPage;
@end

@interface GTScrollView : UIView <UIScrollViewDelegate,UITableViewDataSource,UITableViewDelegate>
{
    NSInteger mCurrentPage;
    BOOL mNeedUseDelegate;
}
@property (nonatomic,retain) UIScrollView *scrollView;
@property (nonatomic , strong)VideoView *videoView;
@property (nonatomic,retain) NSMutableArray *contentItems;

@property (nonatomic,assign) id<ScrollPageViewDelegate> delegate;

#pragma mark 添加ScrollowViewd的ContentView
-(void)setContentOfTables:(NSInteger)aNumerOfTables;
#pragma mark 滑动到某个页面
-(void)moveScrollowViewAthIndex:(NSInteger)aIndex;

@end
